function logged(value, context) {
  console.log('value: ', value)
  console.log('context: ', context)
  const { kind, name } = context
  if (kind === 'field') {
    return function (initialValue) {
      console.log(`initializing ${name} with value ${initialValue}`)
      return initialValue + 1
    }
  }
}
class Class {
  @logged x = 1
}
console.log(new Class().x)
export {}